package com.blood.modules.system.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author daoren
 * @date 2022-11-23 10:32:43
 * @description 保存或修改入参
 */
@Data
@ApiModel(value = "用户角色保存或修改入参", description = "用户角色保存或修改入参")
public class SysUserRoleSaveReq {
    @ApiModelProperty("业务id")
    private String id;
    @ApiModelProperty(value = "角色名字", required = true)
    @NotNull(message = "角色名字不能为空！")
    private String name;
    @ApiModelProperty("备注")
    private String remake;
    @ApiModelProperty("权限id集合")
    private List<String> authorityIdList;

}
